import LayOut from '@/layout/LayOut.vue'
export default {
    // 一级路由
    path: '/admin',
    component: LayOut,
    // 二级路由
    children: [{
            path: 'product/list',
            component: () =>
                import ('@/views/ProductPage/ProductList/ProductList.vue')
        },
        {
            path: 'product/add',
            component: () =>
                import ('@/views/ProductPage/ProductAdd/ProductAdd.vue')
        },
        {
            path: 'product/category',
            component: () =>
                import ('@/views/ProductPage/ProductCategory/ProductCategory.vue')
        }
    ]
}